/**
 * Created by liubin on 2014/6/16.
 */
Ext.define('Order.view.CartForm', {
    extend: 'Ext.form.Panel',
    xtype: 'cartform',
    config: {
        title: '提交订单',
        items: [
            {
                xtype: 'numberfield',
                name: 'amount',
                label: '总计(元)',
                disabled: true,
                disabledCls: 'readonly'
            },
            {
                xtype: 'textfield',
                name: 'customer',
                required: true,
                label: '姓名'
            },
            {
                xtype: 'textfield',
                name: 'tel',
                required: true,
                label: '电话'
            },
            {
                xtype: 'textareafield',
                name: 'comment',
                label: '备注'
            }
        ]
    }
})